<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<ul>
	<li class="logo"><h2><a href="${pageContext.request.contextPath}">Enqu&ecirc;te App</a></h2></li>

	<li>
	<c:choose>
		<c:when test="${not empty previousQuestionId}">
			<input type="submit" name="previous" value="&lt; Vorige" />
		</c:when>
		<c:otherwise>
			&lt; Vorige
		</c:otherwise>
	</c:choose>
	</li>
	<li><div id="progress-outer"><div id="progress-inner" style="width: ${process}%;"></div></div></li>
	<li>
	<c:choose>
		<c:when test="${not empty nextQuestionId}">
			<input type="submit" name="next" value="Volgende &gt;" />
		</c:when>
		<c:otherwise>
			Volgende &gt;
		</c:otherwise>
	</c:choose>
	</li>
	
	<li class="logout"><a href="<c:url value="${request.contextPath}/logout" />">Log uit</a></li>
	<li class="right">Welkom, ${user.firstname} ${user.name}</li>
</ul>
<input type="hidden" name="previousQuestionId" value="${previousQuestionId}" />
<input type="hidden" name="nextQuestionId" value="${nextQuestionId}" />
<input type="hidden" name="currentQuestionId" value="${question.id}" />